package com.peng.design.rule;

import java.util.List;

/**
 * RuleChain
 *
 * @author lupeng
 * Created on 2022-03-22
 */
public interface RuleChain<T> {

    void and(Rule<T> rule);

    void or(Rule<T> rule);

    List<Rule<T>> getAndRules();

    List<Rule<T>> getOrRules();

}
